/**
 * Copyright By Nanjing Fujitsu Nanda Software Technology Co., Ltd
 * 下午3:15:11
 * Operation.java
 * 
 */
package com.fujitsu.nanjing.mobile.enums;

/**
 * @author qixb.fnst
 * 
 */
public enum Operation {
    signIn(1, "签到"), signOut(2, "签退");
    private Operation(int state, String name) {
        this.state = state;
        this.name = name;
    }

    private int state;
    private String name;

    public int getState() {
        return state;
    }

    public String getName() {
        return name;
    }

    public String toString() {
        return super.toString() + "(" + state + "," + getName() + ")";
    }
}
